﻿@inherits BaseComponent

@if (Visible)
{
    if (OnClick.HasDelegate)
    {
        <Tag Color="@GetColor(Text)" OnClick="OnClick">@Language[Text]</Tag>
    }
    else
    {
        <Tag Color="@GetColor(Text)">@Language[Text]</Tag>
    }
}